package com.leyou.mapper;

import com.leyou.item.entity.SpuDetail;
import org.apache.ibatis.annotations.Param;

/**
 * @author xiuer spu 细节持久层
 * @date 2019/6/28 16:48
 */
public interface SpuDetailMapper {
    int insertGoodsBySpuDetail(SpuDetail spuDetail);

    /*根据 spu_id查询 spuetail*/
    SpuDetail selectSpuDetailBySpuId(@Param("spu_id") Long id);
    /*根据spu_id 更新 spuDetail数据*/
    int updateSpuDetailBySpuId(SpuDetail spuDetail);

}
